
echo '============= start build.sh ==================='
ls -la 
# 安装 hexo cli
sudo npm install -g hexo-cli
# anatole theme
npm install hexo-render-pug hexo-generator-archive hexo-generator-tag hexo-generator-index hexo-generator-category
# 安装环境
npm install
cd node_modules
ls -la
cd ../
# 编译
hexo generate
# 拷贝内容
# cp -R ./public/* ./
echo '============= end build.sh ==================='






